package com.mybatis03.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @author wzm
 * @create 2023-12-04 11:17
 * project_name:web2310
 * @Description
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Dept {
    private Integer id;
    private String name;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;

    //一个部门持有的是当前部门所有的员工
    private List<Emp> emps;
}
